package com.peng.mybatis.mapping;

import com.peng.mybatis.session.Configuration;
import lombok.Builder;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;

/**
 * 一个mapper标签内容的封装
 */
@Getter
@Setter
@Builder
public class MappedStatement {

    @NonNull
    private Configuration configuration;

    /**
     * mapper标签的id
     */
    @NonNull
    private String id;

    private SqlCommandType sqlCommandType;

    private BoundSql boundSql;

}
